﻿using MesGLApp.DAL.MesDTO;
using MesGLApp.View.Search;
using Smobiler.Core;
using Smobiler.Core.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MesGLApp.View.Components
{
    ////ToolboxItem用于控制是否添加自定义控件到工具箱，true添加，false不添加
    //[System.ComponentModel.ToolboxItem(true)]
    partial class ProdListComp : Smobiler.Core.Controls.MobileUserControl
    {
        public ProdListComp() : base()
        {
            //This call is required by the SmobilerUserControl.
            InitializeComponent();
        }

        private void ProdInfoComp_Load(object sender, EventArgs e)
        {

        }

        private void btnDisplay_Press(object sender, EventArgs e)
        {
            ProdInfoFrm tmpFrm = new ProdInfoFrm(this.lblProdNumber.Text.Trim());
            this.Form.Show(tmpFrm);
        }
    }
}